package com.shuai.model;

public class TaskListItem {
    private String content, taskId = "";
    private boolean isNewNote, isChange, complete;
    public TaskListItem(String content, boolean isNewNote, boolean isChange, boolean complete) {
        this.content = content;
        this.isNewNote = isNewNote;
        this.isChange = isChange;
        this.complete = complete;
        this.taskId = "";
    }
    public TaskListItem(String content, String taskId, boolean complete) {
        this.isNewNote = false;
        this.isChange = true;
        this.content = content;
        this.taskId = taskId;
        this.complete = complete;
    }
    public TaskListItem(String content, boolean complete) {
        this.isNewNote = false;
        this.isChange = true;
        this.content = content;
        this.complete = complete;
    }
    public boolean isComplete() {
        return complete;
    }
    public void setComplete(boolean complete) {
        this.complete = complete;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public boolean isNewNote() {
        return isNewNote;
    }
    public void setNewNote(boolean newNote) {
        isNewNote = newNote;
    }
    public boolean isChange() {
        return isChange;
    }
    public void setChange(boolean change) {
        isChange = change;
    }
    public String getTaskId() {
        return taskId;
    }
    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
}
